package cn.dckeji.gameBox.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2018-08-20
 */
@TableName("game_info")
public class Info extends Model<Info> {

    private static final long serialVersionUID = 1L;

    /**
     * 游戏编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 游戏名称
     */
    private String gameName;
    /**
     * 游戏类型
     */
    private Integer typeId;
    /**
     * 游戏类别编码 1：二维码 2：小游戏  3：h5游戏
     */
    private Integer cateId;
    /**
     * 类别信息
     */
    private String cateInfo;
    /**
     * 游戏logo
     */
    private String gameLogo;
    /**
     * 游戏大图logo
     */
    private String gameBigLogo;
    /**
     * 是否是重点突出游戏
     */
    private Integer isFocus;
    /**
     * 创建时间
     */
    private Date crateTime;
    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 上架时间
     */
    private Date uploadTime;
    /**
     * 游戏提供商
     */
    private String gameProvider;
    /**
     * 游戏状态 1：正常 2：下架
     */
    private Integer state;
    /**
     * 在玩人数
     */
    private Integer count;
    /**
     * 页面路径
     */
    private String pagePath;

    @Override
    public String toString() {
        return "Info{" +
                "id=" + id +
                ", gameName='" + gameName + '\'' +
                ", typeId=" + typeId +
                ", cateId=" + cateId +
                ", cateInfo='" + cateInfo + '\'' +
                ", gameLogo='" + gameLogo + '\'' +
                ", gameBigLogo='" + gameBigLogo + '\'' +
                ", isFocus=" + isFocus +
                ", crateTime=" + crateTime +
                ", updateTime=" + updateTime +
                ", uploadTime=" + uploadTime +
                ", gameProvider='" + gameProvider + '\'' +
                ", state=" + state +
                ", count=" + count +
                ", pagePath='" + pagePath + '\'' +
                '}';
    }

    public String getPagePath() {
        return pagePath;
    }

    public void setPagePath(String pagePath) {
        this.pagePath = pagePath;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGameName() {
        return gameName;
    }

    public void setGameName(String gameName) {
        this.gameName = gameName;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getCateId() {
        return cateId;
    }

    public void setCateId(Integer cateId) {
        this.cateId = cateId;
    }

    public String getCateInfo() {
        return cateInfo;
    }

    public void setCateInfo(String cateInfo) {
        this.cateInfo = cateInfo;
    }

    public String getGameLogo() {
        return gameLogo;
    }

    public void setGameLogo(String gameLogo) {
        this.gameLogo = gameLogo;
    }

    public String getGameBigLogo() {
        return gameBigLogo;
    }

    public void setGameBigLogo(String gameBigLogo) {
        this.gameBigLogo = gameBigLogo;
    }

    public Integer getIsFocus() {
        return isFocus;
    }

    public void setIsFocus(Integer isFocus) {
        this.isFocus = isFocus;
    }

    public Date getCrateTime() {
        return crateTime;
    }

    public void setCrateTime(Date crateTime) {
        this.crateTime = crateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getGameProvider() {
        return gameProvider;
    }

    public void setGameProvider(String gameProvider) {
        this.gameProvider = gameProvider;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
